package io.renren.modules.lanling.dao;

import io.renren.common.utils.Query;
import io.renren.modules.lanling.entity.SchoolEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学校
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-10-29 10:12:14
 */
public interface SchoolDao extends BaseMapper<SchoolEntity> {


    List<SchoolEntity> queryList(Query query);

    Integer queryTotal(Query query);

    SchoolEntity queryObject(@Param("id") Integer id);

    Boolean update(SchoolEntity shoolEntity);

    int querySchoolId(@Param("createUserId") Long createUserId);
}
